<template>
    <PreviewImg :src="props.src" :alt="props.alt || ''" />
</template>

<script setup>
import PreviewImg from '~/components/previewImg.vue'

const props = defineProps({
    src: {
        type: String,
        required: true
    },
    alt: {
        type: String,
        default: ''
    }
})
</script>